home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C/C++ Users Group Library 1996 July
/
C-C++ Users Group Library July 1996.iso
/
listings
/
v_08_09
/
8n09067a
< prev
next >
Wrap
Text File
|
1990-05-30
|
1KB
|
26 lines
Listing 1 - 'r'-function declarations
RFILE *rfopen(sfname, sftype) /* Opens a file on a File Server */
char *sfname; /* <server-name>!<file-name> */
char *sftype; /* file access type - same as fopen */
int rfclose(rstream) /* Closes file on a File Server */
RFILE *rstream; /* rfile pointer from rfopen routine */
int rfread(buf, size, nitems, rstream) /* Reads data from a remote file */
char *buf; /* application buffer for data */
int size; /* size of item to read */
int nitems; /* number of items to read */
RFILE *rstream; /* rfile pointer from rfopen */
int rfwrite(buf, size, nitems, rstream) /* Writes data to a remote file */
char *buf; /* application buffer for data */
int size; /* size of item to write */
int nitems; /* number of items to write */
RFILE *rstream; /* rfile pointer from rfopen */
int rfeof(rstream) /* Test for End-of-File */
RFILE *rstream; /* rfile pointer from rfopen routine */